package com.yt.app.core.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * Description
 * <p>
 *     订单表
 * </p>
 * DATE 2017/10/3.
 *
 * @author liujunshi.
 */
@ApiModel(value = "UserOrder", description = "订单信息")
public class UserOrder implements Serializable {
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "用户ID")
    private Long uid;
    @ApiModelProperty(value = "订单号")
    private String orderNo;
    @ApiModelProperty(value = "订单类型 0:非实物订单，1:实物订单")
    private String orderType;
    @ApiModelProperty(value = "购买人")
    private String buyUser;
    @ApiModelProperty(value = "手机号")
    private String  mobile;
    @ApiModelProperty(value = "地址")
    private String address;
    @ApiModelProperty(value = "邮编")
    private String postcode;
    @ApiModelProperty(value = "总金额")
    private Long amount;
    @ApiModelProperty(value = "订单状态 0:未支付，1:已支付，2:已取消，3:已退款")
    private String orderStatus;
    @ApiModelProperty(value = "支付方式 1:微信，2:支付宝")
    private String payType;
    @ApiModelProperty(value = "备注")
    private String comment;
    @ApiModelProperty(value = "下单时间")
    private Long orderTime;
    @ApiModelProperty(value = "修改时间")
    private Long modifyDate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getBuyUser() {
        return buyUser;
    }

    public void setBuyUser(String buyUser) {
        this.buyUser = buyUser;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Long getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Long modifyDate) {
        this.modifyDate = modifyDate;
    }

    public Long getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Long orderTime) {
        this.orderTime = orderTime;
    }
}
